[INFO] cloning repository https://github.com/tf2-mixes/mixes-rating-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tf2-mixes/mixes-rating-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37f0478b157f7863f43d9b8e6db06d3ada3a54cb
[INFO] building tf2-mixes/mixes-rating-cli against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tf2-mixes/mixes-rating-cli on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tf2-mixes/mixes-rating-cli
[INFO] finished tweaking git repo https://github.com/tf2-mixes/mixes-rating-cli
[INFO] tweaked toml for git repo https://github.com/tf2-mixes/mixes-rating-cli written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/tf2-mixes/mixes-rating-cli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/tf2-mixes/mixes-db`
[INFO] [stderr]     Updating git repository `https://github.com/tf2-mixes/mixes-rating`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded md-5 v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d286c6f9170f309419bfc43ccc0dba905037495f175451dd4bc0a7a9e5f4246
[INFO] running `Command { std: "docker" "start" "-a" "9d286c6f9170f309419bfc43ccc0dba905037495f175451dd4bc0a7a9e5f4246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d286c6f9170f309419bfc43ccc0dba905037495f175451dd4bc0a7a9e5f4246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d286c6f9170f309419bfc43ccc0dba905037495f175451dd4bc0a7a9e5f4246", kill_on_drop: false }`
[INFO] [stdout] 9d286c6f9170f309419bfc43ccc0dba905037495f175451dd4bc0a7a9e5f4246
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6e3cd7a0eb9388abc976f85090e187dab564c6dc8a775cb53c876b2cf3fd412
[INFO] running `Command { std: "docker" "start" "-a" "f6e3cd7a0eb9388abc976f85090e187dab564c6dc8a775cb53c876b2cf3fd412", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling futures-io v0.3.19
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling crypto-common v0.1.1
[INFO] [stderr]    Compiling block-buffer v0.10.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling digest v0.10.1
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling md-5 v0.10.0
[INFO] [stderr]    Compiling hmac v0.12.0
[INFO] [stderr]    Compiling sha2 v0.10.0
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling postgres-protocol v0.6.3
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling postgres-types v0.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling enum-primitive-derive v0.2.2
[INFO] [stderr]    Compiling h2 v0.3.9
[INFO] [stderr]    Compiling futures-executor v0.3.19
[INFO] [stderr]    Compiling futures v0.3.19
[INFO] [stderr]    Compiling tokio-postgres v0.7.5
[INFO] [stderr]    Compiling postgres v0.19.2
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.8
[INFO] [stderr]    Compiling mixes-db v0.1.0 (https://github.com/tf2-mixes/mixes-db#85ea73b5)
[INFO] [stderr]    Compiling mixes-rating v0.1.0 (https://github.com/tf2-mixes/mixes-rating#8828c8b4)
[INFO] [stderr]    Compiling mixes-rating-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::io::stdin_locked`
[INFO] [stdout]  --> src/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{stdin_locked, BufRead};
[INFO] [stdout]   |               ^^^^^^^^^^^^ no `stdin_locked` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Database`, `SteamID`
[INFO] [stdout]  --> src/commands/rank_by_win_rate.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mixes_db::{Class, Database, SteamID};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/commands/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SteamID`
[INFO] [stdout]   --> src/commands/mod.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mixes_db::{Database, SteamID};
[INFO] [stdout]    |                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `stdio_locked`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(stdio_locked)]
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/commands/add_user.rs:39:57
[INFO] [stdout]    |
[INFO] [stdout] 39 |         match ratings.database_mut().add_user(steam_id, discord_id) {
[INFO] [stdout]    |                                      --------           ^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                                      |                  |
[INFO] [stdout]    |                                      |                  expected struct `String`, found `u64`
[INFO] [stdout]    |                                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/mixes-db-fe09bce20ad23ba8/85ea73b/src/database.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn add_user(&mut self, steam_id: SteamID, discord_id: String) -> Result<bool, Self::Error>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `users` found for mutable reference `&mut SQLDb` in the current scope
[INFO] [stdout]   --> src/commands/rank_by_win_rate.rs:39:44
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let users = ratings.database_mut().users()?;
[INFO] [stdout]    |                                            ^^^^^ method not found in `&mut SQLDb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `username` found for mutable reference `&mut SQLDb` in the current scope
[INFO] [stdout]   --> src/commands/rank_by_win_rate.rs:45:61
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let username = match ratings.database_mut().username(user) {
[INFO] [stdout]    |                                                             ^^^^^^^^ method not found in `&mut SQLDb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> src/commands/update.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .update(ratio, min_players..=max_players)
[INFO] [stdout]    |              ^^^^^^        ------------------------- argument of type `RangeInclusive<u8>` unexpected
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/mixes-db-fe09bce20ad23ba8/85ea73b/src/database.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn update(&mut self, min_ratio: f32) -> Result<(), Self::Error>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 55 |             .update(ratio)
[INFO] [stdout]    |                    ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queries.rs:18:62
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let overall_performances = performances.into_iter().map(|(_id, ps)| {
[INFO] [stdout]    |                                                              ^^^^^^^^-
[INFO] [stdout]    |                                                              |       |
[INFO] [stdout]    |                                                              |       expected due to this
[INFO] [stdout]    |                                                              expected struct `Performance`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Performance`
[INFO] [stdout]                found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `Overall` found for struct `Performance` in the current scope
[INFO] [stdout]   --> src/queries.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 if let Performance::Overall(op) = p {
[INFO] [stdout]    |                                     ^^^^^^^ associated item not found in `Performance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/main.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{stdin_locked, BufRead};
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mixes-rating-cli` due to 9 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f6e3cd7a0eb9388abc976f85090e187dab564c6dc8a775cb53c876b2cf3fd412", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6e3cd7a0eb9388abc976f85090e187dab564c6dc8a775cb53c876b2cf3fd412", kill_on_drop: false }`
[INFO] [stdout] f6e3cd7a0eb9388abc976f85090e187dab564c6dc8a775cb53c876b2cf3fd412
